package com.example.entity;

import com.alibaba.fastjson.annotation.JSONField;
import lombok.Data;

import java.util.Date;


@Data
public class Video {
    private Long id;
    private Long userId;
    private String title;
    private String url;
    private Long playNum;
    private Long likes;

    private Long type;

    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;
}
